
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("MIS_WEBIM_MESSAGE")] 
     public partial class MIS_WebIM_Message
    {
        public MIS_WebIM_Message()
        {
            this.MIS_WebIM_Message_Rec = new HashSet<MIS_WebIM_Message_Rec>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("MESSAGE")] 
     public string Message { get; set; }
        [Column("SENDER")] 
     public string Sender { get; set; }
        [Column("RECEIVER")] 
     public string receiver { get; set; }
        [Column("STATE")] 
     public bool State { get; set; }
        [Column("SENDDT")] 
     public Nullable<System.DateTime> SendDt { get; set; }
        [Column("RECEIVERTITLE")] 
     public string receiverTitle { get; set; }
    
        public virtual ICollection<MIS_WebIM_Message_Rec> MIS_WebIM_Message_Rec { get; set; }
    }
}
